awilliam@xenbuild2.aw [Mon, 12 Mar 2007 14:43:56 +0000 (08:43 -0600)]
[IA64] Follow dynamic grant_table for PV-on-HVM on IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
awilliam@xenbuild2.aw [Mon, 12 Mar 2007 14:42:11 +0000 (08:42 -0600)]
[IA64] Fix return value of hypercall from VT-i domain
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
awilliam@xenbuild2.aw [Mon, 12 Mar 2007 14:40:57 +0000 (08:40 -0600)]
[IA64] Fix for compiling PV-on-HVM driver on IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
awilliam@xenbuild2.aw [Thu, 8 Mar 2007 16:50:25 +0000 (09:50 -0700)]
[IA64] Add HYPERVISOR_vcpu_op
For support of steal time accounting, only supports
VCPUOP_register_runstate_memory_area right now.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
awilliam@xenbuild2.aw [Wed, 7 Mar 2007 20:16:07 +0000 (13:16 -0700)]
[IA64] Steal time accounting for PV domain - hypervisor side
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
awilliam@xenbuild2.aw [Wed, 7 Mar 2007 19:45:08 +0000 (12:45 -0700)]
[IA64] Add arch/ia64/kernel/time.c to spare tree for steal time accounting
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
awilliam@xenbuild2.aw [Wed, 7 Mar 2007 19:42:32 +0000 (12:42 -0700)]
[IA64] Xen/ia64 XENMEM_exchange bug work around
xen-unstable.hg c/s 13366:
ed73ff8440d8 revealed that
XENMEM_exchange has been broken on Xen/ia64.
This is work around for it until the right fix.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild2.aw [Wed, 7 Mar 2007 19:38:28 +0000 (12:38 -0700)]
merge with xen-unstable.hg
kfraser@localhost.localdomain [Wed, 7 Mar 2007 16:21:21 +0000 (16:21 +0000)]
linux: Restore time on APs if they are not hotplugged on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 16:16:09 +0000 (16:16 +0000)]
netback: Disable debug interrupt (accidentally left enabled in
previous checkin).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 16:00:47 +0000 (16:00 +0000)]
linux: Use fake carrier flag for netfront/netback rather than the real
netif_carrier_XXX() functions. This makes network bringup much faster.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 7 Mar 2007 13:07:12 +0000 (13:07 +0000)]
[HVM] Disallow soft resets in the BIOS.
They aren't safe if the guest has brought up PV device drivers.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 11:17:03 +0000 (11:17 +0000)]
xen: Replace stupid page_alloc fix.
I broke the 'correct' fix when I copied it out of an email. The
actual correct version, with an extra +1 in the for-loop header is
rather abusive of for loops, so I've changed it now to a do-while loop
and an extra comment so I don't screw up this backwards loop ever
again.
This version does actually boot. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 10:53:34 +0000 (10:53 +0000)]
dump-core: always use elfclass64 format to support x86_32pae.
Without this patch xen dump-core format can't handle over 4GB case.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 10:49:20 +0000 (10:49 +0000)]
tools: Clean up use of 'install' command.
- convert raw "install" command to use $(INSTALL)
- convert some $(INSTALL) to $(INSTALL_DATA) as appropriate
- modify the specific $(INSTALL) definitions to use -p.
Original patch by Ben Thomas <ben@virtualiron.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 10:37:05 +0000 (10:37 +0000)]
ioemu: Remove use of 'echo -c' in script.
I've no idea what it does, and it doesn't appear to be valid on some
systems. Use a more generic approach.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 10:13:39 +0000 (10:13 +0000)]
linux: Don't use set_fixmap/clear_fixmap after boot-time. It's not
allowed and the functions are marked __init on x86/64.
Use HYPERVISOR_update_va_mapping() directly instead.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 7 Mar 2007 09:43:36 +0000 (09:43 +0000)]
A correct fix for page_alloc crash when Xen heap empty.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 6 Mar 2007 16:51:42 +0000 (16:51 +0000)]
ioemu: Close file descriptors when forking processes.
Just leave stdin/stdout/stderr (and possibly tap fd) open.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 6 Mar 2007 16:46:20 +0000 (16:46 +0000)]
Make Python tools (i.e., xend and pygrub) conditionally compiled.
Config option is PYTHON_TOOLS, default is 'y'.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
Tim Deegan [Tue, 6 Mar 2007 15:02:20 +0000 (15:02 +0000)]
[XEN] Shadow: ignore shadow operations on dying domains
so that they don't get confused by the way that shadow_teardown()
leaves some of the mode bits set after releasing the shadow resources.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 6 Mar 2007 13:41:05 +0000 (13:41 +0000)]
linux x86/64: No need to pre-allocate all fixmap pagetables:
just those for bt_ioremap().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 6 Mar 2007 11:53:37 +0000 (11:53 +0000)]
xend: more flexibility in gathering data from /proc/cpuinfo
Add ia64 mapping for cpuinfo data and make the case where #vcpu !=
#pcpu more flexible (don't rely on cpu0 existing).
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Travis Betak [Mon, 5 Mar 2007 22:22:21 +0000 (16:22 -0600)]
[SVM] Clear VMCB's EFER.LME when guest disables paging
Since the guest's CR0.PG is always set (in shadow paging), EFER.LME must
be cleared along with EFER.LMA when the guest is disabling paging.
Signed-off-by: Travis Betak <travis.betak@amd.com>
Travis Betak [Mon, 5 Mar 2007 22:21:50 +0000 (16:21 -0600)]
[SVM] Use svm_long_mode_enabled() when checking if guest is in long mode
This patch fixes the inconsistent method of checking if the guest is in
long mode (EFER.LMA == 1).
Signed-off-by: Travis Betak <travis.betak@amd.com>
Travis Betak [Mon, 5 Mar 2007 22:21:11 +0000 (16:21 -0600)]
[SVM] Cleanup guest writes to EFER
Travis Betak [Mon, 5 Mar 2007 22:18:10 +0000 (16:18 -0600)]
[SVM] Return the shadow EFER value on guest EFER reads.
Return the shadow of the guest's EFER instead of the VMCB. This helps
with things such as the unlikely event the guest wants to check EFER.LME
immediately after setting it (The VMCB's EFER.LME remains clear until
the guest enables paging).
Signed-off-by: Travis Betak <travis.betak@amd.com>
Travis Betak [Mon, 5 Mar 2007 22:17:25 +0000 (16:17 -0600)]
[SVM] Remove SVM cpu_state and add EFER shadow to svm structure.
The SVM cpu state was being used inconsistently and, besides, it makes
more sense to instead rely on the guest's shadow registers to determine
the current guest state.
Signed-off-by: Travis Betak <travis.betak@amd.com>
Christian Limpach [Mon, 5 Mar 2007 22:42:13 +0000 (22:42 +0000)]
[tools] Import ptsname from its new location (after cset 14259:
7f0d8e3c538e).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Mon, 5 Mar 2007 19:22:21 +0000 (19:22 +0000)]
[tools] Use auxbin.py to determine libpath at build time.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 19:01:19 +0000 (19:01 +0000)]
Install pygrub according to auxbin rules.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 18:54:26 +0000 (18:54 +0000)]
Move ptsname module under tools/python.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 18:10:41 +0000 (18:10 +0000)]
linux x86/64: Clean up mm initialisation a little.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Mon, 5 Mar 2007 16:43:12 +0000 (16:43 +0000)]
[tools] Use auxbin.py to determine libpath at build time.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 15:53:18 +0000 (15:53 +0000)]
linux: no pc speaker device in domUs
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 15:46:33 +0000 (15:46 +0000)]
linux: scan DMI early
While shuffling quite a few things around, this gets us closer to
native, which clearly had a reason to do the DMI scan early.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 15:08:17 +0000 (15:08 +0000)]
linux/x86-64 2.6.18: reserve bootmem differently
Do init memory reservation in a single step rather then piece-wise.
This is not really addressing a problem, but simplifies things a
little.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 15:06:13 +0000 (15:06 +0000)]
linux/x86-64 2.6.18: do away with pud_offset_k()
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 15:04:28 +0000 (15:04 +0000)]
linux/x86_64 2.6.18: remove orig_ist
orig_ist is bound to presence of a TSS, hence is meaningless on Xen
kernels.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 14:39:03 +0000 (14:39 +0000)]
Fix crash in heap allocator when Xen 'zone' is empty.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 14:20:26 +0000 (14:20 +0000)]
linux: Prefer testing io_bitmap_ptr to the TIF_IO_BITMAP.
Former is safer (in case TIF_IO_BITMAP is out-of-sync with actual
existence of an I/O bitmap for this process) and more readable, and
probably results in faster code too.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 14:09:19 +0000 (14:09 +0000)]
linux: Remove unnecessary locking from pcifront free_root_bus_devs().
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Mon, 5 Mar 2007 14:04:45 +0000 (14:04 +0000)]
[LINUX] CONFIG_X86_TSC is defined upstream in arch/i386/Kconfig.cpu so use that
instead of duplicating it in arch/i386/Kconfig.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 14:00:05 +0000 (14:00 +0000)]
linux 2.6.18: constify instances of 'struct file_operations'
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:57:11 +0000 (13:57 +0000)]
linux 2.6.18: miscellaneous
Various minor changes not fitting elsewhere and not warranting
separate patches.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:49:11 +0000 (13:49 +0000)]
linux 2.6.18: assembly annotations
This adds (or moves to the proper place) annotations paralleling those
added in native code in 2.6.18. To make this look less ugly, it
required moving around a few things.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:33:42 +0000 (13:33 +0000)]
linux 2.6.18: eliminate Xen special: x8664_ksyms.c
The differences of arch/x86_64/kernel/x8664_ksyms-xen.c over its
native original are benign - the Xen special can therefore be
removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:32:50 +0000 (13:32 +0000)]
linux 2.6.18: eliminate Xen special: alternative.c
The sole (x86-64 specific) difference of
arch/i386/kernel/alternative-xen.c
over its native original can be eliminated by slightly adjusting
x86-64's make_readonly(), and the Xen special can then be removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:30:52 +0000 (13:30 +0000)]
linux 2.6.18: eliminate Xen special: intel_cacheinfo.c
arch/i386/kernel/cpu/intel_cacheinfo-xen.c is identical to
arch/i386/kernel/cpu/intel_cacheinfo.c, hence the Xen special can be
removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:27:51 +0000 (13:27 +0000)]
linux/x86-64: allow kernel init memory to be freed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:18:28 +0000 (13:18 +0000)]
VM.actions_after_[shutdown|reboot|suspend|crash] were not set properly
in VM record returned via Xen API.
This patch fixes typos in key name for these fields.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Tim Deegan [Mon, 5 Mar 2007 11:54:55 +0000 (11:54 +0000)]
[XEN] Shadow: fix predicate for when to use up-pointers
which was broken by the introduction of "pinnable" types
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:23:34 +0000 (11:23 +0000)]
xen: Remove bogus file.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:18:55 +0000 (11:18 +0000)]
Merge with xenppc-unstable.hg
Christian Limpach [Mon, 5 Mar 2007 11:17:52 +0000 (11:17 +0000)]
[xen] Fix deferred mmu op logic on invalidate shadow ldt.
On domain destroy, put_page_from_l1e is called on a domain
which is not current.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:14:15 +0000 (11:14 +0000)]
Merge with xenppc-unstable.hg
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:52:54 +0000 (10:52 +0000)]
xen: Make dom0 domain builder behaviour match that of domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:37:01 +0000 (10:37 +0000)]
xen: Fix ACPI SLIT/SRAT parsing to correctly map highmem.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:26:45 +0000 (10:26 +0000)]
linux: Clean up mm_pin/unpin.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Sat, 3 Mar 2007 20:42:38 +0000 (20:42 +0000)]
[domain builder] Remove unnecessary alignment of virtual address base.
Unbreaks loading NetBSD kernels with the new ^^ domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Keir Fraser [Fri, 2 Mar 2007 23:01:36 +0000 (23:01 +0000)]
linux: Some save/restore simplifications and cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Fri, 2 Mar 2007 22:57:27 +0000 (22:57 +0000)]
x86/64: Save/restore user pagetable pointer for x86/64 PV guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:57:24 +0000 (16:57 +0000)]
Fix -xen build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:29:48 +0000 (16:29 +0000)]
linux: xenbus dev write function resets packet data on *all* error conditions.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:26:56 +0000 (16:26 +0000)]
linux: Fix xenbus device write function.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:15:28 +0000 (16:15 +0000)]
tpm: Code style cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:03:21 +0000 (16:03 +0000)]
[Linux] [TPM driver] Resume frontend after checkpointing
This patch implements TPM frontend driver resume after checkpointing a
domain. I also now let the front-end wait for the response from the
TPM until the response is there. A response must come due to the
strict request/response nature of the protocol, but the time until the
responses arrives depends on the type of operation that is executed by
the vTPM. Resending a request is not possible with this type of device.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:00:22 +0000 (16:00 +0000)]
linux: Use old-mode of save/restore for uniproc guests (it's faster).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:59:12 +0000 (15:59 +0000)]
linux: allow use of split page table locks
This changes netback to use struct page's mapping field instead of the
index one, and the PageForeign logic the other way around. That way,
CONFIG_SPLIT_PTLOCK_CPUS doesn't have to be suppressed anymore for x86.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:32:42 +0000 (15:32 +0000)]
[PVFB][TOOLS] Terminate backend when frontend vanishes early
Ensure the backend terminates when the frontend vanishes before the
connection is established. This happens when the guest doesn't have
the devices.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:12:54 +0000 (15:12 +0000)]
linux/x86: avoid a re-definition warning on x86-64 and change i386
similarly to be consistent.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:10:54 +0000 (15:10 +0000)]
.S->.o generation should depend on asm-offsets.h
While object files generated from C sources should generally not
depend on asm-offsets.h, those generated from assembly sources
should.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:08:26 +0000 (15:08 +0000)]
xend: Fix startup when dom0 does not see all physical cpus.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 14:57:18 +0000 (14:57 +0000)]
xend: Catch VmError exception when creating a domain and do
appropriate cleanup.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 14:42:25 +0000 (14:42 +0000)]
acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain().
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Tim Deegan [Fri, 2 Mar 2007 13:46:39 +0000 (13:46 +0000)]
[XEN] Remove a race condition in shadow mark_dirty code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:52 +0000 (12:11 +0000)]
linux: Support new 'fast suspend' mode which does not require us to
hotplug all auxiliary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:10 +0000 (12:11 +0000)]
tools: Advertise save/restore multiple VCPU contexts capability.
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Fri, 2 Mar 2007 11:25:12 +0000 (11:25 +0000)]
[xenstored] Fix error path when xc_map_foreign_range fails.
If xc_map_foreign_range fails, the new domain object is freed,
but it is not removed from the connection list.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
awilliam@xenbuild2.aw [Thu, 1 Mar 2007 22:02:09 +0000 (15:02 -0700)]
[IA64] Bug fixes to assign_domain_mmio_page()
- phys_addr also needs to be rounded down to a page start
- return the original mpaddr, not the modified one
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
awilliam@xenbuild2.aw [Thu, 1 Mar 2007 18:21:44 +0000 (11:21 -0700)]
[IA64] Handle MMIO EFI mappings outside the page table range
We cannot rely on MMIO pages presented in the EFI mem-map can be
mapped directly to the same meta-physical address, because of
restrictions on the address range imposed by the page tables.
As an example, IO ports are located at 0x1ffffffffc000000 on many SN2
systems.
Change assign_domain_mmio_page() to take a flags and a source and
destination address to handle this and catch IO ports above
0x1ffffffff0000000 and map them down to a safe area.
Signed-off-by: Jes Sorensen <jes@sgi.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 17:59:17 +0000 (17:59 +0000)]
Save/restore context of all online VCPUs in PV save/restore/migrate.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild2.aw [Thu, 1 Mar 2007 17:31:58 +0000 (10:31 -0700)]
[IA64] Update sn_sal.h to latest 2.6.20 version
Signed-off-by: Jes Sorensen <jes@sgi.com>
Christian Limpach [Thu, 1 Mar 2007 17:28:31 +0000 (17:28 +0000)]
[tools] Set guest address size to be the same as dom0 address size on restore.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 1 Mar 2007 17:27:31 +0000 (17:27 +0000)]
[XEN] Check that the cr3 mfn is valid before using it.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 15:56:45 +0000 (15:56 +0000)]
linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 14:51:12 +0000 (14:51 +0000)]
Fully reset the xenstore connection when a domain is (re)introduced to xenstored.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 14:00:05 +0000 (14:00 +0000)]
[HVM] Save/restore: remove bogus "valid state" check
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:57:25 +0000 (13:57 +0000)]
hvm: Clean up console-information passing via xenstore.
Each serial, parallel and monitor device in qemu that is connected to
a pty creates a xenstore node of the form:
<domain-path>/monitor/tty
<domain-path>/serial/<n>/tty
<domain-path>/parallel/<n>/tty
In addition, serial/0 (com1) also registers its information at:
<domain-path>/console/tty
Also fix a realloc() failure memory leak.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:48:31 +0000 (13:48 +0000)]
Fix Xend domain_lookup error report when looking up an invalid
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:45:53 +0000 (13:45 +0000)]
acm: Fix the traversal of the event channel buckets and use the active
grant table entries instead of the shared ones. I had to move some
functions from grant_table.c into grant_table.h to make them usable by
the ACM module.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:44 +0000 (12:23 +0000)]
Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:04 +0000 (12:23 +0000)]
Fix PAE Mini-OS build.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:14:53 +0000 (12:14 +0000)]
x86: No need to take full reference when doing mmu_update on a foreign
domain. Also fix a pre-existing race setting PGT_pinned versus
clearing it during domain_kill().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 11:38:55 +0000 (11:38 +0000)]
xen: Cleanups and bug fixes after the rcu_lock_domain patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:08:49 +0000 (11:08 +0000)]
Remove Xen workaround for HVM builder now that it's fixed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:04:45 +0000 (11:04 +0000)]
Merge
Tim Deegan [Thu, 1 Mar 2007 11:04:23 +0000 (11:04 +0000)]
[HVM] Builder must know which kind of vcpu context struct to use
when the tools are being run in a compat-mode domain
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:44:40 +0000 (10:44 +0000)]
xen: Use RCU-based domain-locking functions where appropriate.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:32:52 +0000 (10:32 +0000)]
xen: Last minute rename of RCU domain get/put functions:
find_domain_rcu_lock -> rcu_lock_domain_by_id
domain_rcu_unlock -> rcu_unlock_domain
Signed-off-by: Keir Fraser <keir@xensource.com>